/**
 统一返回数据格式
 code: 0 成功, 1 失败
 msg: 响应提示
 data: 响应数据
*/
const R = function (code, msg, data = null) {
    this.code = code
    this.msg = msg
    this.data = data
}

module.exports = R